'use strict';
module.exports = (app)=>{
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;

    /**
     * 
     * LBL: {
            type: String,
        },
        TYP:{
            type:String
        },
        FLDSZ:{
            type:String,
            default:"s"
        },
     */
    const NotSchema = new Schema({
        F:{ // 字段内容
            type:Object
        },
        FORMID:{ // 表单的id
            type:String,
            required:true
        }
    },{ timestamps: true });

    return mongoose.model('formBody', NotSchema);
}